package org.dromara.system.domain.vo;

import org.dromara.system.domain.SysReportConfig;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 报配置视图对象 sys_report_config
 *
 * @author yilong.fu
 * @date 2024-02-27
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SysReportConfig.class)
public class SysReportConfigVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称")
    private String name;

    /**
     * 编号
     */
    @ExcelProperty(value = "编号")
    private String code;

    /**
     * 展示类型(page,list)
     */
    @ExcelProperty(value = "展示类型(page,list)")
    private String type;

    /**
     * 报表类型(sql,java)
     */
    @ExcelProperty(value = "报表类型(sql,java)")
    private String contentType;

    /**
     * SQL内容
     */
    @ExcelProperty(value = "SQL内容")
    private String content;

    /**
     * 数据头(用JSON结构来描述列表的头字段(name,code,hidden,length) 例如:[{"name":"编号","code":"id","hidden":"false"}])
     */
    @ExcelProperty(value = "数据头")
    private String header;

    /**
     * 查询条件
     */
    @ExcelProperty(value = "查询条件")
    private String searchConfig;

    /**
     * JAVA数据提取
     */
    @ExcelProperty(value = "JAVA数据提取")
    private String cls;

    /**
     * 生成数据格式化的实现类
     */
    @ExcelProperty(value = "生成数据格式化的实现类")
    private String filter;

    /**
     * 报表备注
     */
    @ExcelProperty(value = "报表备注")
    private String remark;

    /**
     * 格式化SQL
     */
    @ExcelProperty(value = "格式化SQL")
    private String filterSql;

    /**
     * 格式化SQL
     */
    @ExcelProperty(value = "格式化SQL")
    private String filterSql1;

    /**
     * 格式化SQL
     */
    @ExcelProperty(value = "格式化SQL")
    private String filterSql2;

    /**
     * 格式化SQL
     */
    @ExcelProperty(value = "格式化SQL")
    private String filterSql3;

    /**
     * 行高
     */
    @ExcelProperty(value = "行高")
    private Long rowHeight;

    /**
     * 菜单配置
     */
    @ExcelProperty(value = "菜单配置")
    private String menuConfig;


}
